﻿@model IList<LinksInfo>
<ul style="position: relative;">
    @{
        var b = true;
        var margin = "margin-left: 18px;";
        foreach (var item in Model)
        {

            if (b)
            {
                margin = string.Empty;
                b = false;
            }else{
                margin = "margin-left: 18px;";
            }
        <li style="float: left; width: 150px; height: 60px;@margin">
            <a href="@item.Url">
                <img title="@item.Title" style="width: 150px; height: 60px; border: none;" 
                         src="@item.ImgUrl" /></a>
        </li>
        }
    }
</ul>
